package com.train.pojo;

import java.util.Date;

public class User {
    private String openid;

    private String userNickname;

    private String userAvatorUrl;

    private String userPhone;

    private Integer userGender;

    private Integer isVip;

    private Integer vipType;

    private Double userPayTotal;

    private Date vipStartTime;

    private Date vipEndTime;

    private Date userCreateTime;

    private Date userUpdateTime;

    public User(String openid, String userNickname, String userAvatorUrl, String userPhone, Integer userGender, Integer isVip, Integer vipType, Double userPayTotal, Date vipStartTime, Date vipEndTime, Date userCreateTime, Date userUpdateTime) {
        this.openid = openid;
        this.userNickname = userNickname;
        this.userAvatorUrl = userAvatorUrl;
        this.userPhone = userPhone;
        this.userGender = userGender;
        this.isVip = isVip;
        this.vipType = vipType;
        this.userPayTotal = userPayTotal;
        this.vipStartTime = vipStartTime;
        this.vipEndTime = vipEndTime;
        this.userCreateTime = userCreateTime;
        this.userUpdateTime = userUpdateTime;
    }

    public User() {
        super();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname == null ? null : userNickname.trim();
    }

    public String getUserAvatorUrl() {
        return userAvatorUrl;
    }

    public void setUserAvatorUrl(String userAvatorUrl) {
        this.userAvatorUrl = userAvatorUrl == null ? null : userAvatorUrl.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public Integer getUserGender() {
        return userGender;
    }

    public void setUserGender(Integer userGender) {
        this.userGender = userGender;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getVipType() {
        return vipType;
    }

    public void setVipType(Integer vipType) {
        this.vipType = vipType;
    }

    public Double getUserPayTotal() {
        return userPayTotal;
    }

    public void setUserPayTotal(Double userPayTotal) {
        this.userPayTotal = userPayTotal;
    }

    public Date getVipStartTime() {
        return vipStartTime;
    }

    public void setVipStartTime(Date vipStartTime) {
        this.vipStartTime = vipStartTime;
    }

    public Date getVipEndTime() {
        return vipEndTime;
    }

    public void setVipEndTime(Date vipEndTime) {
        this.vipEndTime = vipEndTime;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Date getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(Date userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }
}